/*
 * <eud>
 * <fileName value="GraphLine.cs" />
 * <author name="" email="" employeeId="" />
 * <date value="9/29/2005" />
 * <description></description>
 * </eud>
 */
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Collections;

namespace System.Ups.Windows.Forms {
  /// <summary>
  /// Summary description for GraphLine.
  /// </summary>
  public class GraphLine {
    private Hashtable points;
    private Color lineColor;
    public GraphLine() {
      points = new Hashtable();
      lineColor = Color.Red;
    }

    public void AddPoint(Point p) {
      this.points.Add(this.points.Count,p);
    }

    public Point[] Points { get { Point[] p = new Point[this.points.Count]; this.points.Values.CopyTo(p,0); return p; } }
  }
}
